#include "Strategy.h"

#include <iostream>
using namespace std;

void test()
{
    Character* character = new Character();
    WeaponStrategy* knife = new Knife();
    WeaponStrategy* ak47 = new AK47;

    character->SetWeapon(knife);
    character->ThrowWeapon();

    character->SetWeapon(ak47);
    character->ThrowWeapon();

    delete ak47;
    delete knife;
    delete character;
}

int main()
{
    test();
    return 0;
}